Skip to content

Comments

chore: merge from develop to preview#4430

Merged
jorbuedo merged 7 commits intopreviewfrom
develop
Dec 13, 2025
Merged

chore: merge from develop to preview#4430
jorbuedo merged 7 commits intopreviewfrom
develop

Conversation

@jorbuedo
Copy link
Contributor

@jorbuedo jorbuedo commented Dec 13, 2025

Note

Improves NIGHT airdrop redemption UX and error handling, adds DRep deeplink flow/validation, enhances swap navigation via remote config, enables UTXO consolidation banner, adds a thaw-schedule checker script, and updates result screen/i18n.

  • Airdrop (NIGHT):
    • Recompute schedule.numberOfClaimedAllocations from confirmed/confirming thaws; exclude failed from totals and redeemability checks.
    • Thaw schedule UI: add retry for failed thaws, failed badge/icon, formatted error messages (POSIX timestamps → human-readable), allow redeem retry, use context: 'airdrop' for result screens.
    • Details screen: active thaw selection ignores failed; insufficient funds uses airdrop context.
    • Hook updates: useHasRedeemableThaws excludes failed/skipped; eligibility calculations refined.
    • i18n: add airdrop.tryAgain and related labels.
  • Governance / Links:
    • Support bech32 drep IDs in deeplinks; delay action clearing for delegate-drep navigation to prevent re-trigger.
    • Auto-open Change Vote with prefilled drepId; Enter DRep modal improves initial value handling and validation/refetch flow.
  • Portfolio / Swap:
    • New resetTabAndSwapWithRemoteConfig: resets form, optionally preselects token from remote config, handles preprod notice; banners updated to use it.
  • Transactions / UTxO:
    • Enable UTXO consolidation banner (feature flag removed); show single-address warning header when applicable.
  • UI / Result Screen:
    • Set concise navigation title from result type; add default config for context: 'airdrop'.
  • Scripts:
    • Add mobile/scripts/check-thaw-schedule.js to fetch thaw schedules for addresses, sort/aggregate, and output summary and detailed reports.

Written by Cursor Bugbot for commit eedbcfc. This will update automatically on new commits. Configure here.

jorbuedo and others added 7 commits December 13, 2025 11:43
- Add 'Try again' button for failed thaws in schedule screen
- Exclude failed thaws from total allocation and redeemable calculations
- Improve error messages with human-readable date formatting
- Fix numberOfClaimedAllocations calculation for confirmed thaws
- Add concise navigation titles for error screens
- Handle failed status throughout airdrop flow
- Add resetTabAndSwapWithRemoteConfig method to useNavigateTo hook
- Consolidate swap navigation logic (reset form, set pending token, navigate)
- Fix TradeTokensBannerBig navigation to properly reset stack
- Fix TradeTokensBanner to initialize output token from remote config
- Remove duplicate logic from banner components
- Fix back navigation issue by delaying action clearing for delegate-drep actions
- Fix DRep deeplink to properly navigate to ChangeVoteScreen and open modal
- Fix modal to prefill DRep ID from deeplink without overriding user input
- Fix continue button to enable automatically when validation succeeds
- Change button logic from isFetched to isSuccess for proper validation state
- Ensure validation query runs when initialDrepId is set
- Clean up all debug logging statements
- Fix TypeScript errors in parsers.ts
- Fix infinite retry loop in DRep ID validation by checking error state
- Fix staking update modal showing multiple times by improving storage read logic
- Default to not showing modal on storage read failures (safer UX)
- Add robust parsing for storage values (handles JSON strings, plain strings, booleans)
- Update cache synchronously before opening modal to prevent race conditions
- Add error state check to prevent refetching on validation failures
@jorbuedo jorbuedo merged commit 8b96230 into preview Dec 13, 2025
4 of 6 checks passed
}

// Main execution
const inputFile = process.argv[2] || '/home/jorbuedo/Downloads/fixed';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Hardcoded developer path in utility script

The script has a hardcoded default path /home/jorbuedo/Downloads/fixed which appears to be a developer's personal file path. This is likely accidentally committed debugging/development code. If the script is run without command-line arguments on any other machine, it will fail because this path won't exist.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant